home *** CD-ROM | disk | FTP | other *** search
- on change2
- global bore, drumonly, switch, wait, change, drums, check, s
- if the mouseDown then
- set wait to 1
- if the timeoutLapsed > (3 * 60) then
- startTimer()
- set bore to bore + 1
- borecheck()
- redraw()
- do("sel" & s + 10 & EMPTY)
- end if
- set drumonly to 0
- end if
- set switch to switch + 1
- if switch > 1500 then
- dropdrums2()
- set switch to 0
- end if
- set wait to wait + 1
- if wait > 120 then
- set check to 0
- set the timeoutLength to 10 * 60
- when timeOut then
- if the lastClick > (10 * 60) then
- startTimer()
- set change to random(4)
- if change = 1 then
- set the visible of sprite 3 to 1
- updateStage()
- if soundBusy(1) = 0 then
- set drums to 0
- end if
- end if
- if change = 2 then
- dropsounds()
- end if
- if change = 3 then
- changesounds2()
- end if
- if change = 4 then
- changesounds3()
- end if
- set wait to 0
- end if
- end if
- if wait > 50 then
- set check to check + 1
- if check = 1 then
- set s to random(10)
- redraw()
- do("sel" & s + 10 & EMPTY)
- set check to check + 1
- end if
- end if
- end
-